Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

knapsack: add exercise #350

Merged
merged 6 commits into from
Oct 16, 2024
Merged

knapsack: add exercise #350

merged 6 commits into from
Oct 16, 2024

Conversation

colinleach
Copy link
Contributor

The linter is going to complain. Too bad, it's a long URL inside a comment, so live with it.

More seriously, I'm not thrilled with the example.R. I had hoped to vectorize this, but each cell update needs access to the cells above and to the left. Hence needing both matrix indices, hence nested loops. If you have a better idea, please change the file and add yourself as an author.

I've put difficulty 5, copying Python, Julia, C#.

@colinleach
Copy link
Contributor Author

Thanks for the linter advice. I failed to RTFM!

@ErikSchierboom ErikSchierboom merged commit 435597b into exercism:main Oct 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants